﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace UIWindow.Models
{
    public class RunParameterModel : INotifyPropertyChanged
    {
        public event PropertyChangedEventHandler PropertyChanged;

        /// <summary>
        /// 窗口标题
        /// </summary>
        public string Title { get; set; }
        /// <summary>
        /// 生产批次号
        /// </summary>
        public string BatchNumber { get; set; }
        /// <summary>
        /// 工序代码
        /// </summary>
        public string GroupCode { get; set; }
        /// <summary>
        /// 组别
        /// </summary>
        public string GroupName { get; set; }
        /// <summary>
        /// 设备编号
        /// </summary>
        public string EquipNum { get; set; }
        /// <summary>
        /// 生产类型
        /// </summary>
        public string ProductType { get; set; }
        /// <summary>
        /// 制令单号
        /// </summary>
        public string MoNumber { get; set; }
        /// <summary>
        /// 电解液批次
        /// </summary>
        public string BatchElectrolyte { get; set; }
        /// <summary>
        /// 电解液数量
        /// </summary>
        public int BatchElectrolyteNumber { get; set; }
        /// <summary>
        /// 电解液物料号
        /// </summary>
        public string ElectrolyteMaterialNumber { get; set; }
        /// <summary>
        /// 氢氟酸含量
        /// </summary>
        public double HydrofluoricAcidContent { get; set; }
        /// <summary>
        /// 电解液水含量
        /// </summary>
        public double ElectrolyteWaterContent { get; set; }
        /// <summary>
        /// PLC读取间隔时间
        /// </summary>
        public int PLCTime { get; set; }
        /// <summary>
        /// MES访问超时
        /// </summary>
        public int MESTimeout { get; set; }
        /// <summary>
        /// 称重连次数报警
        /// </summary>
        public int ScalesNumberReconnections { get; set; }
        /// <summary>
        /// 条码规则
        /// </summary>
        public string BarcodeRules { get; set; }
        /// <summary>
        /// 称重超时
        /// </summary>
        public long WeighingTimeout { get; set; }
        /// <summary>
        /// 本机IP最后一位
        /// </summary>
        public int FinsIP { get; set; }
    }
}
